package com.sam.chat.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author sam
 * @since 2022-12-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("chat_user")
public class ChatUserDao implements Serializable {

private static final long serialVersionUID=1L;

    /**
     * 用户id1
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id2
     */

    private String username;

    private String nickname;

    private String password;

    private String header;

    private Integer sex;

    private Integer age;

    private String phone;

    private Integer role;


}
